﻿<%@ Control Language="C#" Inherits="Web.Control.WWW.Wiki.AllContributors" %>
<asp:Literal ID="lLCount" Text="5" runat="server" Visible="false" />
<asp:Literal ID="lMCount" Text="15" runat="server" Visible="false" />
<asp:Literal ID="lDOrder" Text="[datetime]" runat="server" Visible="false" />
<div class="common">
	<div id="new_body">
		<div id="body_900">
			<div id="body_left"></div>
			<div id="body_main">
				<div class="submenuN">
					<div class="submenuN_position">
						<div class="submenuN_title">
							<div class="submenuN_Btitle">
								<h1><%=GetText("WK025")%></h1>
							</div>
							<div class="submenuN_button"><%if (((Lx.Web.Common.UI.TDTPageBase)Page).IsAffirm){%><a href="/knowledge/edit.htm" class="Naddbtn btnspec" style="text-decoration:none"><%}else{ %><a href="#" onclick="NotAffirm()" class="Naddbtn btnspec" style="text-decoration:none"><%} %><span><%=GetText("WK004")%></span></a></div>
						</div>
					</div>
				</div>
				<div class="Center9001n">
					<div class="Center9001Right">
						<div class="Center9001Content">
							<div class="knowedge_area">
								<div class="margin5" style="text-align: right">
									<%=PagesCount%> <%=GetText("WK017")%>: 
									<%if(Order.ToLower()=="[datetime]") {%>
									<strong><%=GetText("C2002")%></strong>
									<%}else{ %>
									<a href="/knowledge/allContributors-1-[datetime].htm"><%=GetText("C2002")%></a>
									<%} %>
								|
								 <%if(Order.ToLower()=="[hc]") {%>
									<strong><%=GetText("WK028")%></strong>
									<%}else{ %>
									<a href="/knowledge/allContributors-1-[HC].htm"><%=GetText("WK028")%></a>
									<%} %>
								 |
								 <%if(Order.ToLower()=="[ma]") {%>
									<strong><%=GetText("WK014")%></strong>
									<%}else{ %>
									<a href="/knowledge/allContributors-1-[MA].htm"><%=GetText("WK014")%></a>
									<%} %>
								</div>
								<!--people list-->
								<div class="margin20T">
									<!--list loop started-->
									<asp:Repeater ID="rptM" runat="server">
										<ItemTemplate>
											<div class="people_list" style="border-bottom: 1px #eee solid; margin-bottom: 10px;padding-bottom: 10px">
												<div class="people_list_avatar Pic50" align="center"><a class="photo_50" href="/<%#Eval("Username") %>.htm" title="<%#HttpUtility.HtmlAttributeEncode(Eval("NickName").ToString()) %>"><%#Eval("Avatar").ToString() == "" ? "<img src=\"/Images/No_pic.gif\" border=\"0\"/>" : Eval("Avatar", "<img src=\"{0}\" border=\"0\"/>").ToString()%></a></div>
												<div class="people_list_content">
													<span class="text14"><a href="/<%#Eval("Username")%>.htm"><%#HttpUtility.HtmlEncode(Eval("NickName").ToString())%></a></span><br /><%#Eval("NL") %>, <%#Eval("Gender").ToString()=="0"?GetText("C0013"):GetText("C0012") %>, <%#GetText("C0102",new string[]{GetCountryText(Eval("Nationality").ToString())})%><br />
													<span class="orange10"><%#((bool)Eval("Online"))? GetText("C0038"):GetText("C0039") %></span></div>
												<div class="people_list_info">
													<strong>
													<%if(Order.ToLower()=="[hc]") {%>
														<span style="color:#e2007b"><%#Eval("HC")%></span>
														<%}else{ %>
														<%#Eval("HC")%>
														<%} %>
													</strong> <%=GetText("WK017")%>, 
													<strong>
													<%if(Order.ToLower()=="[ma]") {%>
														<span style="color:#e2007b"><%#Eval("MA") %></span>
														<%}else{ %>
														<%#Eval("HC")%>
														<%} %>
													</strong> <%=GetText("WK021")%><br /><span dir="ltr"><a href="/knowledge/contribution-<%#HttpUtility.UrlEncode(Eval("page").ToString())%>.htm"><%#Eval("Title") %></a></span> <span class="grey11"><%#FormatDiffDate(GetText("WK095"), Model.CommonMethod.FormatDateAgo((DateTime)Eval("DateTime")))%></span></div>
												<div class="Clear">
												</div>
											</div>
										</ItemTemplate>
									</asp:Repeater>
									<%if (rptM.Items.Count == 0){%>
									<span class="grey12"><%=GetText("WK005")%></span>
									<%} %>
									<!--list loop end-->
								</div>
								<div class="page_num">
									<%=CreatePageNav(RecordCount, int.Parse(lMCount.Text), PageIndex, 
									"",string.Format("<span class='page_none grey10'><a href='/knowledge/allContributors-$I$-{0}.htm'>{1}</a></span>&nbsp;",Order,HttpUtility.UrlEncode(GetText("..."))),
									"",string.Format("<span class='page_none grey10'><a href='/knowledge/allContributors-$I$-{0}.htm'>{1}</a></span>&nbsp;",Order,HttpUtility.UrlEncode(GetText("..."))),
									string.Format("<span class='page_select'>{0}</span>&nbsp;",PageIndex),
									string.Format("<span class='page_none grey10'><a href='/knowledge/allContributors-$I$-{0}.htm'>$I$</a></span>&nbsp;",Order))%></div>
							</div>
						</div>
					</div>
					<div class="Center9001Left">
						<div class="right_layerA">
							<div class="layer_contentA">
								<h4><%=GetText("WK027")%></h4>
								<div class="layer_contentA5">
									<ul class="right_ul">
										<asp:Repeater ID="rptL" runat="server">
											<ItemTemplate>
												<li><a href='/knowledge/contribution-<%#HttpUtility.UrlEncode(Eval("Name").ToString())%>.htm'><%#HttpUtility.HtmlEncode(Eval("Title").ToString())%></a></li>
											</ItemTemplate>
										</asp:Repeater>
										<%if (rptL.Items.Count == 0)
										  {%>
										<li><%=GetText("WK005")%></li>
										<%} %>
									</ul>
									<%if (rptL.Items.Count > 0){%>
									<p align="right"><a href="/knowledge/allContributions.htm"><%=GetText("C0040")%></a></p>
									<%} %>
								</div>
							</div>
						</div>
						<div class="right_layerA">
							<div class="layer_contentA"><img src="/Images/icon_tips.gif" align="absmiddle" /> <strong><a href="/knowledge/wiki-How+to+edit+the+italki+wiki1.htm">How do I edit italki wiki?</a></strong>
							</div>
						</div>
					</div>
					<div class="clear"></div>
				</div>
			</div>
			<div id="body_right"></div>
			<div class="clear"></div>
		</div>
		<div id="body_900F">
		</div>
	</div>
</div>